package com.nanjing.east.cloud.dao;

import com.nanjing.east.cloud.domain.PayHardware;
import com.nanjing.east.cloud.domain.PayOrder;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface PayHardwareDAO extends JpaRepository<PayHardware,Long> {

    PayHardware findByPayOrderNoAndLockStatus(@Param("payOrderNo") String payOrderNo, @Param("lockStatus") String lockStatus);
}
